package O2.basic;

public class DataArray {
    public static void main(String[] args) {
        int [] scores = new int[5];
        for (int i=0;i<scores.length;i++){
            scores[i] = i+3;
        }

        for (int j=0;j<scores.length;j++){
            System.out.println(scores[j]);
        }
        int[] ns = new int[] { 68, 79, 91, 85, 62 };
        int[] students = ns;

        ns = new int[3];

        for(int t =0;t<ns.length;t++)
            System.out.println(ns[t]);


        System.out.println(ns.length);
        System.out.println(students.length);
        System.out.println(scores.length);

        String[] names = {
                "ABC", "XYZ", "zoo"
        };

        String s = names[1];

        names[1] = "Cat";
        System.out.println(s);


    }
}
